by Devin Yang
(This article was automatically translated.)

Published - 7 years ago ( Updated - 7 years ago )

Laravel 5.6 is scheduled to be released in February 2018, what changes? Let's see.

1. In Laravel 5.6, Argon2i password hashing algorithm will be supported. (Argon2i Password Hashing Algorithm)
Argon2 is available in three versions:
1. Argon2d resists GPU cracking attacks to the greatest extent.
2. Argon2i is optimized to resist side-channel attacks.
3. Argon2id is a hybrid version, the above two versions are mixed.

It doesn't matter if you don't understand it, I don't understand it anyway, the point is, it's safe to be sure anyway.
This is in the Open Cryptography Competition (PHC), designed by Alex Biryukov, Daniel Dinu and Dmitry Khovratovich on July 20, 2015, and finally selected as the PCH winner. The goal of the Open Cryptography Competition (PHC) is Select more cryptographic hash functions that can be recognized as standard.

The old bcrypt will continue to be supported and will remain as the default. After the official release of Laravel 5.6,
If you're using a new project it's worth considering switching to Argon2i.

Second, there are new Blade Directives in Laravel 5.6.
5.5 hours
{{ csrf_field() }} {{ method_field('PUT') }}
After 5.6, you can use the directives as follows, which is even simpler.
@method('put') @csrf
3. Laravel 5.6 will remove the artisan optimzie command.
You may have noticed that in 5.5, after entering php artisan, you will see that the command has been listed as deprecated
Help:
Optimize the framework for better performance ( deprecated )

Since PHP 7 implements PHP op-code caching, this command is no longer needed.

As an aside, the current fpm image used by D-Laravel has also compiled opcache.so, and it can be used after adding it to php.ini.
If you want to use Xdebug and OPCache together, you must load Xdebug after OPCache.

For example: below.
extension=opcache.so
extension=xdebug.so

In addition, the latest php version 7.2.1 image does not support xdebug, so you cannot use the xdebug.so extension function in php version 7.2.1.

Tags: laravel

Devin Yang

Feel free to ask me, if you don't get it.:)

No Comment

Post your comment

Login is required to leave comments

Similar Stories


dlaravel

D-Laravel released v1.1.5

In response to the launch of Laravel 5.5, PHP also released PHP 7.0.23 and PHP 7.1.9. The fpm version used by D-Laravel is also updated...just adjust the version defined by your docker-compose You can use the latest php...

laravel storage,sftp

Use tinker to test Laravel's sftp custom Storage::path and Storage::url

Today, I will test the use of sftp driver on Laravel. If you have never used it, come and see the results of my test. By the way, it is very convenient for us to perform Storage functions in the tinker environment of Laravel, whether it is local or remote. After adjusting the settings, remember to leave and enter again.

laravel

Laravel thought organization, from Model to DatabaseSeeder.

This article will introduce the relevant instruction use cases step by step: Model=>Factory=>Seeder=>DatabaseSeeder Step by step, let us examine all the processes from the Model to the DatabaseSeeder.